i=1
while i<=5:
    print('上班星期为：',i)
    i=i+1

n = 1
sum = 0
while n <= 100:
    sum = sum + n
    n = n + 1
print(sum)
for i in ['周一', '周二' , '周三' , '周四' , '周五']:
    print('今天是' , i, end=',')

print()


for a in ['今天' ,'wo' , '很', '好啊！']:
    print(a, end='       ')
for i in range(10):
    print(i)


for a in range(1, 10, 2):
    print(a)


for b in range(10, 1, -2):
    print(b)
s = 0
for a in range(1,101):
    s = s + a
    print(s)
print(s)
i = 1
while i <= 5:
    print('上班星期为：', i)
    i = i + 1
    t = 9
    while t <= 17:
        print('时间段为：', end=" ")
        t = t + 1

    print()
for i in range(1, 6):
    print('上班星期为: ', i)
    for j in range(9,18):
        print('时间段为:', j, end=", ")
    print()
i = 1
while i <= 9:
    j = 1
    while j <= i:
        print('%d*%d=%d' % (j, i, j*i), end=" ")
        j = j + 1
    print()
    i = i +1
for i in range(1,10):
    for j in range(1, i+1):
        print('%d*%d=%d' % (j, i, j * i),end=" ")
        print()
